import { onShow } from '@dcloudio/uni-app'
export default function onReShow(callback: () => void) {
  let showCount = 0
  onShow(() => {
    if (++showCount > 1) callback()
  })
}
